/****************************************************************
*  COPYRIGHT MorningCore CO.,LTD                               *
*****************************************************************/
/****************************************************************
 * FileName:    <pucch_param_gen.h>
 * version:     <1.0.0>
 * Purpose:     <Header file of pucch_param_gen.c>
 * Authors:     <...>
 * Notes:       <The limitations to use this file>
 ****************************************************************/

/******************************************************************************
*  HISTORY OF CHANGES
*   <Date>          <Author>        <Version>       <DESCRIPTION>
*   2009-01-09      guohuayong         v0.0.1           origin
*   2013-12-9       baiwenling          v1.0.2          update for R11,add PUCCH_TxPortNum
*   2017-12-6       lijianfeng          v1.0.3          added pucch format1
*   2017-12-12      lijianfeng          v1.0.3          added pucch format0, 2 ,3, 4
*   2018-1-13       lijianfeng          v1.0.4          update for pucch according to the agreement
*   2018-1-17       lijianfeng          v1.0.5          update for pucch according to the agreement
*   2018-1-25       shanshan            v1.0.6          added macro definition
*   2018-1-17       shanshan            v1.0.6          modify PUCCH fmt2 two bug2

******************************************************************************/
/*-----------including external files -----------------------------*/
#include "../../../CommLib_FltC/Typedef.h"
#include "../common/head/NR_UL_macro.h"
#include "../../../CommLib_FltC/Lib_Arith_f.h"
#include "../../../CommLib_FxpC/lib_arith_N.h"
#include "../../../CommLib_FltC/Common_function.h"
#include "../../../CommLib_FltC/MacroDef.h"
//#include "../PUSCH/head/ue_tx_pusch_rsgen_f.h"
#include "../common/head/NR_UL_macro.h"
#include "math.h"



#ifndef SRP_PUCCH_FE_ParamGen_H
#define SRP_PUCCH_FE_ParamGen_H

/*-----------external variable declaration-------------------------*/

/*-----------constant and type declaration-------------------------*/

/*-----------macro declaration-------------------------------------*/

/*-----------variable declaration-----------------------------------*/

/*-----------Function or task prototype declaration-----------------*/
void UCILenCulation(IN stULParamTable *SimParam);
void vPUCCHPayloadGen(IN stULParamTable *SimParam,
	 int16 UCI_A_Len);
void SRP_PUCCH_FE_ParamGen
(
    IN stULParamTable *SimParam
);


 void DMRS_para_gen(IN stULParamTable *SimParam);

 void FixToFloat_diff_cal(IN stULParamTable *SimParam);

#endif





